import os
import shutil

number = '05'
dir_new_other = 'D:/Datasets/GestureNumber/test/'

if os.path.exists(dir_new_other) == False:
	os.mkdir(dir_new_other)

lst_imgs_other = os.listdir('./')
for img_file in lst_imgs_other:
	if img_file.split('.')[-1] == 'jpg':
		new_file = number + '_' + img_file
		os.rename('./' + img_file, './'  + new_file)
		shutil.move('./' + new_file, dir_new_other + new_file)
